Duration based treadmill training